package com.demo.modules.pay.domain.pay;

import com.lly835.bestpay.enums.BestPayTypeEnum;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

/**
 * @author MyPC
 */
@Data
@Accessors(chain = true)
public class PayParam {

    @ApiModelProperty("订单id")
    @NotBlank
    private String orderId;

    @ApiModelProperty("支付类型 WXPAY_NATIVE 微信Native支付   ALIPAY_PC 支付宝pc")
    @NotNull
    private BestPayTypeEnum payType;

    @ApiModelProperty("支付金额")
    @NotNull
    private BigDecimal amount;
}


